package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OADeptPayment</p>
 * <p>Description: 科室付款实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:48:11
 */


//定义实体annotation
@Entity


//定义模块代码及数据表名称
@Table(name=ConstSysParam.MODULE_OA_DEPT_PAYMENT)




public class OADeptPayment extends BaseOADomain implements BaseFlowDomainInf,BaseOADomainInf{

	
	
	//具体事项(父类name)
	
	
	//申请人员及科室（父类apply_id

	//付款金额
	private Double paymet_amount;
	
	//申请付款理由(父类apply_content)	
	
	//所在科室审核意见（父类dept_content）
	
	//主管领导(父类directLeader_id,directLeader_name,directLeader_deptid,directLeader_deptname)
		//主管领导意见(父类directLeader_content)
	
//财务科审核意见(父类biz_id,biz_name,biz_deptid,biz_deptname)
	
	//财务主管审核意见
	private String finance_content;
	
	@Column(length=50)
	protected String finance_name;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	protected Date finance_time;
	
	//审计部门审核意见
	//private String audit_department;
	//分管领导
	//分管领导意见（父类chargeleader_content）	
	
	//院长审核	

	public Double getPaymet_amount() {
		return paymet_amount;
	}

	public void setPaymet_amount(Double paymet_amount) {
		this.paymet_amount = paymet_amount;
	}

	

	public String getFinance_content() {
		return finance_content;
	}

	public void setFinance_content(String finance_content) {
		this.finance_content = finance_content;
	}

	public String getFinance_name() {
		return finance_name;
	}

	public void setFinance_name(String finance_name) {
		this.finance_name = finance_name;
	}

	public Date getFinance_time() {
		return finance_time;
	}

	public void setFinance_time(Date finance_time) {
		this.finance_time = finance_time;
	}

	
}
